package com.ashraya.model.entity;

import java.sql.Timestamp;

public class EventImage implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Integer eventImagesKey;
	private Timestamp uploadedDate;
	private String imageLocation;
	private boolean baseImage;
	private String description;
	private EventImage mainImage;
	private Event event;
	private Member uploadedBy;

	public EventImage() {
	}

	public EventImage(Integer eventImagesKey, Timestamp uploadedDate, String imageLocation, boolean baseImage, String description,
			EventImage mainImage, Event event, Member uploadedBy) {
		this.eventImagesKey = eventImagesKey;
		this.uploadedDate = uploadedDate;
		this.imageLocation = imageLocation;
		this.baseImage = baseImage;
		this.description = description;
		this.mainImage = mainImage;
		this.event = event;
		this.uploadedBy = uploadedBy;
	}

	public Integer getEventImagesKey() {
		return eventImagesKey;
	}

	public void setEventImagesKey(Integer eventImagesKey) {
		this.eventImagesKey = eventImagesKey;
	}

	public Timestamp getUploadedDate() {
		return uploadedDate;
	}

	public void setUploadedDate(Timestamp uploadedDate) {
		this.uploadedDate = uploadedDate;
	}

	public String getImageLocation() {
		return imageLocation;
	}

	public void setImageLocation(String imageLocation) {
		this.imageLocation = imageLocation;
	}

	public boolean isBaseImage() {
		return baseImage;
	}

	public void setBaseImage(boolean baseImage) {
		this.baseImage = baseImage;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public EventImage getMainImage() {
		return mainImage;
	}

	public void setMainImage(EventImage mainImage) {
		this.mainImage = mainImage;
	}

	public Event getEvent() {
		return event;
	}

	public void setEvent(Event event) {
		this.event = event;
	}

	public Member getUploadedBy() {
		return uploadedBy;
	}

	public void setUploadedBy(Member uploadedBy) {
		this.uploadedBy = uploadedBy;
	}

}
